home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / mus / play / multiplsr.lha / windowspec.gui < prev   
Text File  |  1992-09-14  |  4KB  |  177 lines

  1. /*
  2.  * MultiPlayer
  3.  * Copyright (C) 1992 Bryan Ford
  4.  *
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2 of the License, or
  8.  * (at your option) any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  * I (the author of MultiPlayer) can be contacted on the Internet at
  20.  * "bryan.ford@m.cc.utah.edu".  See "Player.doc" for other addresses.
  21.  *
  22.  * $Id: windowspec.gui,v 4.3 92/07/20 20:04:39 BAF Exp $
  23.  * Main window user interface specification
  24.  *
  25.  */
  26.  
  27. window xdef _windowspec
  28.     screen import _playerscreen
  29.     left import _tinywinleft top import _tinywintop width 312 height -2
  30.     zleft import _zoomwinleft ztop import _zoomwintop
  31.     CLOSEWINDOW RAWKEY MOUSEBUTTONS ACTIVEWINDOW INACTIVEWINDOW REFRESHWINDOW changewindow
  32.     BUTTONIDCMP CHECKBOXIDCMP CYCLEIDCMP TEXTIDCMP SLIDERIDCMP
  33.     DRAGBAR DEPTHGADGET CLOSEGADGET SIMPLE_REFRESH RMBTRAP
  34.   end
  35.  
  36. text
  37.     export _windowmodgad
  38.     label "Module" minchars 30
  39.     labelleft border endrow
  40.   end
  41.  
  42. text
  43.     export _windowtypegad
  44.     label "Type" minchars 30
  45.     labelleft border endrow
  46.   end
  47.  
  48. text
  49.     export _windowauthorgad
  50.     label "Author" minchars 30
  51.     labelleft border endrow
  52.   end
  53.  
  54. cycle
  55.     export _windowsonggad
  56.     label "Song" minchars 30
  57.     call _gui_windowsong
  58.     options array "" null end
  59.     labelleft endrow
  60.   end
  61.  
  62. slider
  63.     export _windowvolumegad
  64.     label "Volume"
  65.     call _gui_windowvolume
  66.     labelleft
  67.     min 0 max 100 level 100
  68.     disabled
  69.   end
  70.  
  71. slider
  72.     export _windowbalancegad
  73.     label "Balance"
  74.     call _gui_windowbalance
  75.     labelleft
  76.     min -50 max 50 level 0
  77.     disabled
  78.   end
  79.  
  80. button
  81.     export _windowbalanceresetgad
  82.     label "=" call _gui_windowbalancereset
  83.     disabled endrow
  84.   end
  85.  
  86. slider
  87.     export _windowspeedgad
  88.     label "Speed"
  89.     call _gui_windowspeed
  90.     labelleft
  91.     min 50 max 1000 level 50
  92.     disabled
  93.   end
  94.  
  95. button
  96.     export _windowjumpbackgad
  97.     label "<<" call jumpback
  98.     disabled
  99.   end
  100.  
  101. button
  102.     export _windowjumpforwardgad
  103.     label ">>" call jumpforward
  104.     disabled endrow
  105.   end
  106.  
  107. button
  108.     label "New"
  109.     call _gui_windownew
  110.   end
  111.  
  112. button
  113.     label "Play"
  114.     call _gui_play
  115.   end
  116.  
  117. button
  118.     label "Cont"
  119.     call _gui_cont
  120.   end
  121.  
  122. button
  123.     label "Stop"
  124.     call _gui_stop
  125.   end
  126.  
  127. button
  128.     label "Eject"
  129.     call _gui_windoweject
  130.   end
  131.  
  132. button
  133.     label "Prev"
  134.     call _gui_windowprev
  135.   end
  136.  
  137. button
  138.     label "Next"
  139.     call _gui_windownext endrow
  140.   end
  141.  
  142. button
  143.     label "Program"
  144.     call _gui_progwinopenclose
  145.   end
  146.  
  147. button
  148.     label "Prefs"
  149.     call _gui_prefswinopenclose
  150.   end
  151.  
  152. button
  153.     label "Settings"
  154.     call _gui_settingswinopenclose
  155.   end
  156.  
  157. button
  158.     label "Info"
  159.     call _gui_infowinopenclose endrow
  160.   end
  161.  
  162. endcap
  163.  
  164. filerequester xdef _windowfrspec
  165.     title "Select modules"
  166.     ok struct 4
  167.     pattern "~((#?.info)|(Player))"
  168.     donectrlf
  169.     window struct 0
  170.     multiselect
  171.     left import modfrleft
  172.     top import modfrtop
  173.     width import modfrwidth
  174.     height import modfrheight
  175.   end
  176.  
  177.